﻿using Comm100.Framework.Domain.Services;
using Bot.Domain.Bo;
using Bot.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Domain.Interfaces
{
    public interface IChatbotDomainService : IDomainService
    {
        Chatbot Create(Chatbot chatbot, bool isTest, string projectId);

        Chatbot Get(Guid id, string include = "");

        Chatbot Update(Guid id, ChatbotUpdateBo bo);

        IEnumerable<Chatbot> List(string include, string channel);

        void Delete(Guid id);

        int GetBotCountForSite(int siteId);
        bool NameCheck(int siteId, string name);
        Operation Import(Guid jobId, string filePath, Chatbot bot);
        bool SetBotAsTrained(Guid id);
    }
}
